function fileTypeFormatter(value){
    return '<i class="fa fa-file-photo-o" aria-hidden="true"></i> ' + value;
}

(function() {
    var bt_data = [{
        "file_name": "自拍",
        "file_type": ".jpg",
        "file_user":"薛本刚",
        "file_user_phone":"1123412341234",
        "file_user_dept":"IT",
        "file_upload_time": "2018-08-07 08:20:00"
    },{
        "file_name": "自拍",
        "file_type": ".jpg",
        "file_user":"薛本刚",
        "file_user_phone":"1123412341234",
        "file_user_dept":"IT",
        "file_upload_time": "2018-08-07 08:20:00"
    }];

    $('#fileTable').bootstrapTable({
        data: bt_data,
        iconSize: 'outline',
        toolbar: '#exampleTableEventsToolbar',

        icons: {
            refresh: 'glyphicon-repeat',
            toggle: 'glyphicon-list-alt',
            columns: 'glyphicon-list'
        }
    });


})();